package com.atguigu.webadmin.service.impl;

import com.atguigu.model.pojo.FeeKey;
import com.atguigu.webadmin.mapper.FeeKeyMapper;
import com.atguigu.webadmin.service.FeeKeyService;
import com.atguigu.webadmin.vo.fee.FeeKeyVo;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import lombok.extern.slf4j.Slf4j;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;


/**
 * @Author 梅超凡
 * @Date 2024/11/12~20:26
 * @Description 针对表【fee_key(杂项费用名称表)】的数据库操作Service实现
*/
@Service
@Slf4j
public class FeeKeyServiceImpl extends ServiceImpl<FeeKeyMapper, FeeKey>
    implements FeeKeyService{

    @Autowired
    private FeeKeyMapper feeKeyMapper;

    @Override
    public List<FeeKeyVo> feeInfoList() {
        List<FeeKeyVo> feeKeyVoList = feeKeyMapper.feeInfoList();
        log.info("查询结果为：{}",feeKeyVoList);
        return feeKeyVoList;
    }
}




